/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import AppMain from '@/layout/components/AppMain.vue'
import componentsRouter from './components'
import chartsRouter from './charts'
const systemManagement = {
  path: '/privateOrder',
  component: Layout,
  redirect: '/privateOrder/weather',
  name: 'privateOrder',
  meta: {
    title: '个人接单系统管理',
    icon: 'money'
  },
  children: [
    {
      path: '/weather',
      name: 'weather',
      component: AppMain,
      redirect: '/privateOrder/weather/weather',
      meta: {
        title: 'LSTM天气预测',
        icon: 'tree-table'
      },
      children: [
        {
          path: '/weather',
          component: () => import('@/views/privateOrder/weather'),
          name: 'Icons',
          meta: {
            title: '系统首页',
            icon: 'international',
            noCache: true
          }
        },
        {
          path: '/queryWeather',
          component: () => import('@/views/privateOrder/queryWeather'),
          name: 'Icons',
          meta: {
            title: '天气预测',
            icon: 'form',
            noCache: true
          }
        },
        {
          path: '/historyWeather',
          component: () => import('@/views/privateOrder/historyWeather'),
          name: 'Icons',
          meta: {
            title: '历史天气',
            icon: 'documentation',
            noCache: true
          }
        }
      ]
    }
  ]
}
export default systemManagement
